package cn.ghf.product.service;

import cn.ghf.basic.service.IBaseService;
import cn.ghf.basic.util.PageList;
import cn.ghf.product.domain.Product;
import cn.ghf.product.query.ProductQuery;

import java.util.List;

public interface IProductService extends IBaseService<Product>{
    PageList<Product> getProducts(ProductQuery query);
    void onSale(List<Long> ids);

    void offSale(List<Long> ids);
}
